package cn.project.lemontree.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
public class Red_flower  implements Serializable {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "小红花Id",hidden = true)
    private Integer rfId;
    @TableField(exist = false)
    private Child child;
    @ApiModelProperty(value = "来源",dataType = "Stirng",example = "完成任务")
    private String origin;
    @ApiModelProperty(value = "数量",dataType = "Integer",example = "1")
    private Integer count;
    @ApiModelProperty(hidden = true)
    @TableLogic
    private Integer deleted;
}
